import request from "@/utils/request"

export function jobOffLineTime(obj) {
  return request({
    url: "/jobOffLineTime",
    method: "get",
    params: obj
  })
}

export function add(obj) {
  return request({
    url: "/jobOffLineTime/addTask",
    method: "post",
    data: obj
  })
}

export function update(obj) {
  return request({
    url: "/jobOffLineTime/updataTask",
    method: "post",
    data: obj
  })
}

export function updataJobList(obj) {
  return request({
    url: "/jobOffLineTime/updataJobList",
    method: "get",
    params: obj
  })
}


export function triggerTask(obj) {
  return request({
    url: "/jobOffLineTime/triggerTask",
    method: "get",
    params: obj
  })
}

export function updataStatus(obj) {
  return request({
    url: "/jobOffLineTime/updataStatus",
    method: "get",
    params: obj
  })
}

export function del(obj) {
  return request({
    url: "/jobOffLineTime/delectTask",
    method: "get",
    params: obj
  })
}

// export function test (obj) {
//   return request({
//     url: "/jobJdbcDatasource/test",
//     method: "post",
//     data: obj
//   })
// }


